package cn.com.oceansoft.modules.help.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by CS on 2016/10/6.
 */
@Controller
@RequestMapping("helpCenter")
public class HelpController {
    /**
     * 应用中心首页
     *
     * @param request
     * @return
     */
    @RequestMapping(value = "index")
    public String gotoMattersIndex(HttpServletRequest request) {
        return "help/helpCenter";
    }

    /*helpCenter-func 功能介绍*/
    @RequestMapping(value = "func")
    public String gotoMattersFunc(HttpServletRequest request) {
        return "help/helpCenter-func";
    }

    /*helpCenter-matter 事项汇总*/
    @RequestMapping(value = "matter")
    public String gotoMattersMatter(HttpServletRequest request) {
        return "help/helpCenter-matter";
    }

    /*helpCenter-question 常见问题*/
    @RequestMapping(value = "question")
    public String gotoMattersQuestion(HttpServletRequest request) {
        return "help/helpCenter-question";
    }

    /*helpCenter-addr 地址电话*/
    @RequestMapping(value = "addr")
    public String gotoMattersAddr(HttpServletRequest request) {
        return "help/helpCenter-addr";
    }
    /*helpCenter-suggest 意见建议*/
    @RequestMapping(value = "suggest")
    public String gotoMattersSuggest(HttpServletRequest request) {
        return "help/helpCenter-suggest";
    }
    /*helpCenter-precaution 防范知识*/
    @RequestMapping(value = "precaution")
    public String gotoMattersPrecaution(HttpServletRequest request) {
        return "help/helpCenter-precaution";
    }
}
